package com.example.agboxdemo.service.impl;

import com.example.agboxdemo.entity.vo.HeartbeatVO;
import com.example.agboxdemo.service.DeviceParkingService;
//import com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @author hnn
 * @version 1.0
 * @date 2025-07-07 14:42
 */
@Slf4j
@Service
//@AutoJsonRpcServiceImpl
public class DeviceParkingServiceImpl implements DeviceParkingService {
//    @Override
//    public HeartbeatVO updateHeart(String deviceId) {
//        log.info("更新心跳：{}", deviceId);
//        return new HeartbeatVO(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
//    }
}
